package com.wavehi.pojo;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.web.bind.annotation.ResponseStatus;

import static org.junit.Assert.*;

/**
 * @Author WaveHi
 * @Date 25/10/2021 下午 9:36
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:spring-new-function.xml")
public class UseJUnit4 {

    @Autowired
    private User user;

    @Test
    public void testToString() {
        assertNotNull(user);
    }
}